import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Character mainPlayer = new Character("Unit 1");
        Character enemyPlayer = new Character("Unit 2");
        Duel duel = new Duel(mainPlayer, enemyPlayer);
        Scanner scanner = new Scanner(System.in);

        System.out.println("Your health:    " + mainPlayer.health + "; Your damage:    " + mainPlayer.damage);
        System.out.println("Enemy's health: " + enemyPlayer.health + "; Enemy's damage: " + enemyPlayer.damage);
        System.out.print("> ");
        duel.getInput(scanner.nextLine());
        Character.getInfo(mainPlayer, enemyPlayer);
    }
}
